#ifndef PROJET_H
#define PROJET_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <pthread.h>
//#include <FMOD/fmod.h> //dans structure.h

#define ALLEGRO_NO_MAGIC_MAIN
#include <allegro.h>


#include "structure.h"
#include "liste.h"
#include "macro.h"
#include "init.h"
#include "chargement.h"
#include "dijkstra.h"
#include "simulation.h"
#include "biblio_allegro.h"
#include "biblio_gtk.h"
#include "sound.h"

//objet fenetre principale du simulateur
GtkWidget *fenetre_principale;        

void affich_arc(LIST *l);
void affich_liste_avion();
void affich_aeroports(LIST *l);
void affich_liste_avion_aero(void);

//meteo
int nbproba(int nb, int freq);
int freq_perturbation();
void maj_meteo();
//benoit

LIST * ajout_maillon_bp         (LIST**ancre,t_avion *temp);
int    rang_bp                  (LIST**ancre,t_avion *temp);



//pour le test

void main_moteur(gpointer data, gint callback_action, GtkWidget *widget);

 

#endif
